import { createApp } from 'vue';
import './style.css';
import App from './App.vue';
import { pinia } from '@pinia/pinia';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import ArcoVue from '@arco-design/web-vue';
import '@arco-design/web-vue/dist/arco.css';
import router from './router';
import '../mock/mock.ts';
import NutUI from '@nutui/nutui';

import '@nutui/nutui/dist/style.css';
// 创建vue实例
const app = createApp(App);
// 挂载pinia
app.use(router);
app.use(ArcoVue);
app.use(NutUI);
app.use(pinia);
pinia.use(piniaPluginPersistedstate);

// 挂载实例
app.mount('#app');
